package com.lnking.lnkingplace.model.request.garden;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

@Data
public class GardenAddRequest {

    @ApiModelProperty(value = "名称")
    @NotNull(message = "名称不能为空")
    @NotBlank(message = "名称不能为空")
    private String name;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "管理运行机构")
    private String organization;

    @ApiModelProperty(value = "机构性质")
    private String organizationCharacter;

    @ApiModelProperty(value = "法人姓名")
    private String legalPerson;

    @ApiModelProperty(value = "注册地址")
    private String registeredAddress;

    @ApiModelProperty(value = "经营地址")
    private String businessAddress;

    @ApiModelProperty(value = "联系人")
    private String linkman;

    @ApiModelProperty(value = "联系人电话")
    private String linkmanPhone;

    @ApiModelProperty(value = "开始运营时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

    @ApiModelProperty(value = "入住率")
    private Float occupancyRate;

    @ApiModelProperty(value = "产权情况")
    private String property;

    @ApiModelProperty(value = "租赁期限")
    private String termOfLease;

    @ApiModelProperty(value = "园区占地面积")
    private Float floorArea;

    @ApiModelProperty(value = "园区建筑面积")
    private Float coveredArea;

    @ApiModelProperty(value = "全部企业数")
    private Integer enterpriseTotal;

    @ApiModelProperty(value = "文创企业数")
    private Integer culturalCreationEnterprise;

    @ApiModelProperty(value = "规上企业数")
    private Integer regulatedEnterprises;

    @ApiModelProperty(value = "规上文创企业")
    private Integer regulatedCulturalCreationEnterprise;

    @ApiModelProperty(value = "市级评定")
    private String municipalAssessment;

    @ApiModelProperty(value = "自有知识产权数")
    private Integer intellectualProperty;

    @ApiModelProperty(value = "园区总产值(万元)")
    private Float totalValue;

    @ApiModelProperty(value = "园区年度税费贡献")
    private Float taxation;

    @ApiModelProperty(value = "文创企业年度总收入(万元)")
    private Float culturalCreationTotal;

    @ApiModelProperty(value = "文创企业年度税费贡献(万元)")
    private Float culturalCreationTaxation;

    @ApiModelProperty(value = "情况说明")
    private String note;
}
